<!-- directive:title 代码自动化生产 产品 -->
<!-- directive:breadcrumb 自动化 -->
<div class="yxt14 panel-body">
    <div class="yxt14breadcrumb">
        <a href="javascript:;">当前位置 : 收入分配</a><a href="javascript:;">二业务</a>
    </div>
    <div class="container-fluid">
        <div class="yxt14main panel">
            <div class="yxt14title"><i></i>  二业务</div>
            <div class="yxt14nav">
                <a class="yxt14navson yxt14active" ng-click="goto('income.busi_brower')">浏览器</a>
                <a class="yxt14navson " ng-click="goto('income.busi_down')">下载器</a>
            </div>
            <form class="form-inline">
                <h4>1 尝试长内容三行内缩小文字 似乎不好看</h4>
                <h4>2 尝试枚举变量使用字体图标+颜色+title表示 似乎好看些 但代码量翻倍</h4>
                <h4>3 所有长的内容换行显示 或者考虑折叠</h4>
                <h4>4 所有的单元格精确度量 在保证页面宽为1280px前提下保证内容都能展开</h4>
                <h4>5 考虑一下
                    <i class="fa fa-power-off" style="color:red"></i>
                    <i class="fa fa-toggle-on" style="color:green"></i>
                    <i class="fa fa-toggle-off" style="color:red"></i>
                    <i class="fa fa-trash" style="color:red"></i>
                    <i class="fa fa-info-circle" style="color:#03A9F4"></i>
                    <i class="fa fa-cogs"></i>
                    <i class="fa fa-download"></i>
                    <i class="fa fa-edit"></i>
                    <i class="fa fa-exclamation"></i>
                    <i class="fa fa-pencil"></i> 
                </h4>
            </form>
            <div class="table-responsive main-table-striped">
                <table class="table" style="table-layout: auto;">
                <thead>
                    <tr><!-- 966 -->
                        <th class="yxt14left" title="产出日期" style="width:90px;">产出日期</th>
                        <th class="yxt14left" title="归档日期" style="width:90px;">归档日期</th>
                        <th class="yxt14left" title="用户名" style="width:70px;">用户名</th>
                        <th class="yxt14left" title="业务名称" style="width:70px;">业务名称</th>
                        <th class="yxt14left" title="推广id" style="width:50px;">推广id</th>
                        <th class="yxt14left" title="链接" style="width:20px;">链接</th>
                        <th class="yxt14left" title="UV数" style="width:75px;">UV数</th>
                        <th class="yxt14left" title="调整后的UV数" style="width:75px;">调整后的UV数</th>
                        <th class="yxt14left" title="收入单价" style="width:75px;">收入单价</th>
                        <th class="yxt14left" title="收入金额" style="width:75px;">收入金额</th>
                        <th class="yxt14left" title="收入总金额" style="width:75px;">收入总金额</th>
                        <th class="yxt14left" title="收入状态" style="width:50px;">收入<br>状态</th>
                        <th class="yxt14left" title="归档状态" style="width:50px;">归档<br>状态</th>
                        <th class="yxt14left" title="拆分状态" style="width:50px;">拆分<br>状态</th>
                        <th class="yxt14center" title="操作" style="width:78px;">操作</th>
                    </tr>
                </thead>
                <tbody ng-show="!yxt14datalist.length && !yxt14loading">
                    <tr>
                        <td colspan="99"><center>无数据</center></td>
                    </tr>
                </tbody>
                <tbody ng-repeat="row in yxt14datalist">
                    <tr>
                        <td class="yxt14left" title="{{ row.date }}">
                            <div class="yxt14ellipsis">
                                {{ row.date }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.archiveDate }}">
                            <div class="yxt14ellipsis">
                                {{ row.archiveDate }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.userName }}">
                            <div class="yxt14ellipsis">
                                {{ row.userName }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.bizName }}">
                            <div class="yxt14ellipsis">
                                <div style="font-size: 12px; transform: scale(0.8); transform-origin: left; width: 120%;">
                                    {{ row.bizName }}
                                </div>
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.adId }}">
                            <div class="yxt14ellipsis">
                                {{ row.adId }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.url }}">
                            <div class="yxt14ellipsis">
                                {{ row.url }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.uvCount }}">
                            <div class="yxt14ellipsis">
                                {{ row.uvCount }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.uvAdjustCount }}">
                            <div class="yxt14ellipsis">
                                {{ row.uvAdjustCount }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.price }}">
                            <div class="yxt14ellipsis">
                                {{ row.price }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.amount }}">
                            <div class="yxt14ellipsis">
                                {{ row.amount }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.xxx }}">
                            <div class="yxt14ellipsis">
                                {{ row.xxx }}
                            </div>
                        </td>
                        <td class="yxt14center" title="{{ row.incomeType }}">
                            <div class="yxt14ellipsis">
                                {{ {'0':'预估','1':'暂定','2':'封账'}[row.incomeType]||'-' }}
                            </div>
                        </td>
                        <td class="yxt14center" title="{{ {'0':'未归档','1':'已归档'}[row.archiveState]||'-' }}">
                            <div class="yxt14ellipsis">
                                <i class="fa fa-circle" style="color:green" ng-if="row.archiveState==1"></i>
                                <i class="fa fa-circle-o" style="color:#333" ng-if="row.archiveState==0"></i>
                            </div>
                        </td>
                        <td class="yxt14center" title="{{ {'-1':'失败','1':'成功','0':'初始状态'}[row.splitState]||'-' }}">
                            <div class="yxt14ellipsis">
                                <i class="fa fa-check" style="color:green" ng-if="row.splitState==1"></i>
                                <i class="fa fa-close" style="color:red" ng-if="row.splitState==-1"></i>
                                <i class="fa fa-window-maximize" style="color:#333" ng-if="row.splitState==0"></i>
                            </div>
                        </td>
                        <td class="yxt14center">
                            <a ng-click="adjustmentItem(row)">调整</a>
                            <a ng-click="eidtItem(row)">编辑</a>
                            <br>
                            <a ng-click="deleteItem(row)">删除</a>
                            <a ng-click="openItem(row)">开启</a>
                        </td>
                    </tr>
                </tbody>
                <tbody ng-repeat="row in yxt14datalist">
                    <tr>
                        <td class="yxt14left" title="{{ row.date }}">
                            <div class="yxt14ellipsis">
                                {{ row.date }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.archiveDate }}">
                            <div class="yxt14ellipsis">
                                {{ row.archiveDate }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.userName }}">
                            <div class="yxt14ellipsis">
                                {{ row.userName }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.bizName }}">
                            <div class="yxt14ellipsis">
                                {{ row.adId }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.adId }}">
                            <div class="yxt14ellipsis">
                                {{ row.adId }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.url }}">
                            <div class="yxt14ellipsis">
                                {{ row.adId }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.uvCount }}">
                            <div class="yxt14ellipsis">
                                {{ row.uvCount }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.uvAdjustCount }}">
                            <div class="yxt14ellipsis">
                                {{ row.uvAdjustCount }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.price }}">
                            <div class="yxt14ellipsis">
                                {{ row.price }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.amount }}">
                            <div class="yxt14ellipsis">
                                {{ row.amount }}
                            </div>
                        </td>
                        <td class="yxt14left" title="{{ row.xxx }}">
                            <div class="yxt14ellipsis">
                                {{ row.xxx }}
                            </div>
                        </td>
                        <td class="yxt14center" title="{{ row.incomeType }}">
                            <div class="yxt14ellipsis">
                                {{ {'0':'预估','1':'暂定','2':'封账'}[row.incomeType]||'-' }}
                            </div>
                        </td>
                        <td class="yxt14center" title="{{ {'0':'未归档','1':'已归档'}[row.archiveState]||'-' }}">
                            <div class="yxt14ellipsis">
                                <i class="fa fa-circle" style="color:green" ng-if="row.archiveState==1"></i>
                                <i class="fa fa-circle-o" style="color:#333" ng-if="row.archiveState==0"></i>
                            </div>
                        </td>
                        <td class="yxt14center" title="{{ {'-1':'失败','1':'成功','0':'初始状态'}[row.splitState]||'-' }}">
                            <div class="yxt14ellipsis">
                                <i class="fa fa-check" style="color:green" ng-if="row.splitState==1"></i>
                                <i class="fa fa-close" style="color:red" ng-if="row.splitState==-1"></i>
                                <i class="fa fa-window-maximize" style="color:#333" ng-if="row.splitState==0"></i>
                            </div>
                        </td>
                        <td class="yxt14center">
                            <a ng-click="adjustmentItem(row)">调整</a>
                            <a ng-click="eidtItem(row)">编辑</a>
                            <br>
                            <a ng-click="deleteItem(row)">删除</a>
                            <a ng-click="openItem(row)">开启</a>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2"></td>
                        <td> 业务名称<br>链接 </td>
                        <td colspan="20"> {{row.bizName}} <br> {{ row.url }} </td>
                    </tr>
                </tbody>
                <tbody class="tablefoot">
                    <tr>
                        <td class="yxt14left"> <b>汇总</b> </td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td class="yxt14left" title="{{ yxt14datasum.uvCountSum }}">
                            <b>{{ yxt14datasum.uvCountSum }}</b>
                        </td>
                        <td class="yxt14left" title="{{ yxt14datasum.uvAdjustCountSum }}">
                            <b>{{ yxt14datasum.uvAdjustCountSum }}</b>
                        </td>
                        <td></td>
                        <td class="yxt14left" title="{{ yxt14datasum.amountSum }}" colspan=2>
                            <b>{{ yxt14datasum.amountSum }}</b>
                        </td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                    </tr>
                </tbody>
                <tbody ng-show="yxt14loading">
                    <tr class="yxt14loading">
                        <td colspan="99">
                            <center>数据加载中……</center>
                            <div> <div class="sk-spinner sk-spinner-wave"> <div class="sk-rect1"></div> <div class="sk-rect2"></div>
                            <div class="sk-rect3"></div> <div class="sk-rect4"></div> <div class="sk-rect5"></div> </div> </div>
                        </td>
                    </tr>
                </tbody>
                </table>
            </div>
            <div class="main-table-info" ng-if="yxt14totalrow!==undefined">
                <div class="main-table-info-msg"> <h6>{{showMessage()}}</h6> </div>
                <div class="pull-right">
                    <uib-pagination total-items="yxt14totalrow" ng-model="page" max-size="3"
                        first-text="第一页" items-per-page="pagesize" ng-change="pageChanged()"
                        previous-text="上一页" next-text="下一页" last-text="最后页"
                        boundary-links="true" boundary-link-numbers="true">
                    </uib-pagination>
                </div>
            </div>
        </div>
    </div>
</div>
